<!--
  Generated template for the LoginPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
 <ion-header>

  <ion-navbar>
    <ion-title>登录</ion-title>

     <ion-buttons end>
      <button ion-button color="secondary" outline (click)="registAction()">注册</button>
    </ion-buttons>   

  </ion-navbar>
</ion-header> 


<ion-content padding>

  <ion-list inset>

  <ion-item>
    <ion-label>用户名</ion-label>
    <ion-input type="text" [(ngModel)]="userName"  placeholder="请输入用户名" ></ion-input>
  </ion-item>

  <ion-item>
    <ion-label>密   码</ion-label>
    <ion-input type="password" placeholder="请输入密码" [(ngModel)]="password"></ion-input>
  </ion-item>

</ion-list>

<button ion-button full (click)="loginAction()">确认</button>

</ion-content>
